<!--1.导入局部组件  
    2.注册局部组件-->
<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png" />
    <!-- 3.应用自定义组件 -->
    <SplashHello title="hello world"></SplashHello>
  </div>
</template>

<script>
// 1.导入局部组件
import SplashHello from "./components/SplashHello.vue";

export default {
  name: "App",
  components: {
    // 2.注册局部组件
    SplashHello,
  },
};
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
